#ifndef JJ_HTTP_MANAGER_H
#define JJ_HTTP_MANAGER_H
#include <QtNetwork>

class CJJHttpManager : QObject
{
	Q_OBJECT
public:
	CJJHttpManager(void);
	~CJJHttpManager(void);
	static CJJHttpManager* getSelt();

public:
	QString getReply(const QString& _jid,const QString& _msg);

private:
	void initNetwork();
	QString getReply(const QString& _msg);

private:
	QMap<QString,QNetworkAccessManager*> m_mapNetwork;
private:
	static CJJHttpManager* m_pSelf;
};

#endif	//JJ_HTTP_MANAGER_H